package com.tiny.mirror.service.product.infrastructure.repository.db;

import com.tiny.mirror.basic.db.mybatis.EasyBaseMapper;
import com.tiny.mirror.service.product.infrastructure.entity.db.PlatformAbilityRelEntity;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author: chenhao
 * @description:
 * @date: 2023/8/28
 **/
public interface PlatformAbilityRelMapper extends EasyBaseMapper<PlatformAbilityRelEntity> {

  List<PlatformAbilityRelEntity> selectByPlatformId(@Param("platform_id") Long platformId);

  Integer deleteByPlatformIdAndAbilityId(
      @Param("platform_id") Long platformId, @Param("ability_id") Long abilityId
  );
}
